package com.xnyzc.lhy.order.entity.cms.vehicle;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author zhaolijie
 * @date
 */
@Data
public class VehicleManageInfo {

    @ApiModelProperty(value = "ID")
    @TableId(value="vehicle_id", type = IdType.INPUT)
    private Long vehicleId;

    @ApiModelProperty(value = "车牌号")
    private String vehNo;

    @ApiModelProperty(value = "公司或机构ID")
    private Long companyId;

    @ApiModelProperty(value = "车辆状态（0：空闲、1：维修中、2：使用中）")
    private Integer vehStatus;

    @ApiModelProperty(value = "车辆颜色（参见字典表）")
    private Integer vehColor;

    @ApiModelProperty(value = "车辆座位数")
    private Integer vehSeatsNumber;

    @ApiModelProperty(value = "车系编码")
    private String code;

    @ApiModelProperty(value = "发动机号")
    private String vehEngineNumber;

    @ApiModelProperty(value = "车架号")
    private String vehFrameNumber;

    @ApiModelProperty(value = "燃油类型（0：电动、1：油车）")
    private Integer vehFuelType;

    @ApiModelProperty(value = "用户来源")
    private String tag;

    @ApiModelProperty(value = "扩展字段1")
    private String expand1;

    @ApiModelProperty(value = "扩展字段2")
    private String expand2;

    @ApiModelProperty(value = "扩展字段3")
    private String expand3;

    @ApiModelProperty(value = "版本号")
    @Version
    private Long version;

    @ApiModelProperty(value = "是否删除(0:否,1:是)")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "创建人")
    private Long createUser;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新人")
    private Long updateUser;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "车辆类型")
    @TableField(exist = false)
    private int vehType;

    @ApiModelProperty(value = "数据值")
    private String value;

    @ApiModelProperty(value = "标签名")
    private String label;

    @ApiModelProperty(value = "类型")
    private String type;

    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty(value = "用车类型-车系关联表")
    private String vehicleType;

    @ApiModelProperty(value = "车辆图片")
    private Long vehiclePictureId;

    @ApiModelProperty(value = "行驶证图片")
    private Long vehicleLicensePictureId;

    @ApiModelProperty(value = "公司名稱")
    private String name;
}
